package com.example.demo.security.model;

import java.sql.Timestamp;

public class AdminUser {
    private int id;
    private String username;
    private String nickname;
    private String password;
    private int group_id;
    private Timestamp createtime;
    private Timestamp updatetime;

    public AdminUser() {
    }

    public int getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public String getNickname() {
        return nickname;
    }

    public String getPassword() {
        return password;
    }

    public int getGroup_id() {
        return group_id;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public Timestamp getUpdatetime() {
        return updatetime;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public void setUpdatetime(Timestamp updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "AdminUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", password='" + password + '\'' +
                ", group_id=" + group_id +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                '}';
    }
}
